package com.gx.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author lpj
 */
@Data
@TableName("sys_log_info")
@ApiModel
public class SysLogInfo {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("登录ip")
    private String ip;
    @ApiModelProperty("操作类型")
    private String type;
    @ApiModelProperty("操作模块")
    private String description;
    @ApiModelProperty("请求参数")
    private String params;
    @ApiModelProperty("操作系统")
    private String os;
    @ApiModelProperty("请求路径")
    private String requestUrl;
    @ApiModelProperty("请求类名")
    private String className;
    @ApiModelProperty("接口耗时")
    private String time;
    @ApiModelProperty("状态码")
    private Integer code;
    @ApiModelProperty("方法名")
    private String methodName;
    @ApiModelProperty("操作时间")
    private String createdTime;

}
